package org.future.task.redis.singleton;

import io.lettuce.core.RedisFuture;
import io.lettuce.core.api.async.RedisAsyncCommands;

/**
 * @author Dongwei-Chen
 * @Date 2023/12/13 13:35
 * @Description
 */
public abstract class AsyncSingletonAbstract<K, V> {

    public abstract RedisFuture<V> command(RedisAsyncCommands<String, String> async, K row);

    public abstract void future(K k, V v, Throwable throwable);
}
